<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
</head>

<body>
    <h1>我的帮助页</h1>
    <button id="btn1">调用C#方法，无参数</button>
</body>
<script>
    window.onload = function () {
        var btn1 = document.getElementById('btn1');
        btn1.onclick = function() {
            alert('ttt')
            parent.window.main.show();
        }
    }
</script>

</html>